package com.cinc.ebc.quote.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cinc.ebc.quote.project.entity.QuoteProject;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Description: 项目
 * @Author: jeecg-boot
 * @Date:   2022-08-20
 * @Version: V1.0
 */
public interface QuoteProjectMapper extends BaseMapper<QuoteProject> {

    int selectUseCount(@Param("projectId")String projectId);

    int selectCountThisYear();

    List<Map<String, Integer>> selectMonthCountThisYear();
}
